export default [
  {
    path: '',
    component: { render: h => h('i', { class: 'fa fa-fw fa-spinner fa-pulse text-muted' }) },
    meta: { title: '', hidden: true },
  },
  {
    path: 'recommend',
    component: { render: h => h('router-view') },
    meta: { title: '项目推荐', hidden: true },
    children: [
      {
        path: '',
        name: 'recommendPass',
        component: () =>
          import(/* webpackChunkName: "hnd-commend" */ '@/bank/views/hnd/RecommendPass.vue'),
        meta: { title: '推荐项目', hidden: true },
      },
      {
        path: 'recommend_no',
        name: 'recommendNo',
        component: () =>
          import(/* webpackChunkName: "hnd-commend" */ '@/bank/views/hnd/RecommendNo.vue'),
        meta: { title: '待确认项目', hidden: true },
      },
      {
        path: 'recommend_refuse',
        name: 'recommendRefuse',
        component: () =>
          import(/* webpackChunkName: "hnd-commend" */ '@/bank/views/hnd/RecommendRefuse.vue'),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
  {
    path: 'prelim',
    component: { render: h => h('router-view') },
    meta: { title: '项目审查', hidden: true },
    children: [
      {
        path: '',
        name: 'hndPrelimNo',
        component: () =>
          import(/* webpackChunkName: "hnd-prelim" */ '@/bank/views/hnd/PrelimNo.vue'),
        meta: { title: '未审项目', hidden: true },
      },
      {
        path: 'prelim_pass',
        name: 'hndPrelimPass',
        component: () =>
          import(/* webpackChunkName: "hnd-prelim" */ '@/bank/views/hnd/PrelimPass.vue'),
        meta: { title: '已审项目', hidden: true },
      },
      {
        path: 'prelim_refuse',
        name: 'hndPrelimRefuse',
        component: () =>
          import(/* webpackChunkName: "hnd-prelim" */ '@/bank/views/hnd/PrelimRefuse.vue'),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
  {
    path: 'register',
    component: { render: h => h('router-view') },
    meta: { title: '签约放款', hidden: true },
    children: [
      {
        path: '',
        name: 'hndRegisterPass',
        component: () =>
          import(/* webpackChunkName: "hnd-register" */ '@/bank/views/hnd/Register.vue'),
        meta: { title: '已放款', hidden: true },
      },
    ],
  },
  {
    path: 'postloan',
    component: { render: h => h('router-view') },
    meta: { title: '贷后管理', hidden: true },
    children: [
      {
        path: '',
        name: 'hndPostloaning',
        component: () =>
          import(/* webpackChunkName: "hnd-postloan" */ '@/bank/views/hnd/Postloan.vue'),
        meta: { title: '在保项目', hidden: true },
      },
      {
        path: 'postloan_expire',
        name: 'hndPostloanExpire',
        component: () =>
          import(/* webpackChunkName: "hnd-postloan" */ '@/bank/views/hnd/PostloanExpire.vue'),
        meta: { title: '到期项目', hidden: true },
      },
      {
        path: 'postloan_finish',
        name: 'hndPostloanFinish',
        component: () =>
          import(/* webpackChunkName: "hnd-postloan" */ '@/bank/views/hnd/PostloanFinish.vue'),
        meta: { title: '解保项目', hidden: true },
      },
      {
        path: 'postloan_abnormal',
        name: 'hndPostloanAbnormal',
        component: () =>
          import(/* webpackChunkName: "hnd-postloan" */ '@/bank/views/hnd/PostloanAbnormal.vue'),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
]
